package arv;

import java.util.ArrayList;

public class Run {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Cd cd1 = new Cd("Bamses billedbog", 3600, "Bamse himself");
		Dvd dvd1 = new Dvd("Teltubbies", 7200, "Dibsy", "TinkyWinky");
		
		//System.out.println(dvd1.toString());
		
		ArrayList<Media> media = new ArrayList<>();
		media.add(cd1);
		media.add(dvd1);
		//cd1.run();
		
		Shelf s = new Shelf();
		s.addMedia(cd1);
		s.addMedia(dvd1);
		s.runMediaNumber(233);

	}
	

}
